package com.kd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigDecimal;

@TableName("product")
public class Product {
    @TableId(value = "pid", type = IdType.AUTO)
    @JsonProperty("pid")
    private Integer pid;
    private String name;                //前端通过 板长+*+腿长 将数字转换成字符串
    private Integer sidefork;           // 0-二面叉 1-四面叉
    private Integer panel_leg;          // 0-板条-原木 1-胶合板-多层板

    private Integer customize;          // 0-二手 1-定制
    private Integer t_bottomlayer;      // 0-无 1-底部拉秤(仅二面叉)
    private Integer t_leglayout;        // 0-无 1-三条 2-四条(仅二面叉)
    private Integer tf_boardwing;       // 板翼(cm)
    private String f_structure;         // N-无 A|B(仅四面叉)
    private Integer f_blockheight;      // 垫块高度(cm)(仅四面叉)

    private BigDecimal price;           // 产品金额
    private Integer psq;


//    private String remark; // 产品备注
//    private String image; // 产品图像URL


    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSidefork() {
        return sidefork;
    }

    public void setSidefork(Integer sidefork) {
        this.sidefork = sidefork;
    }

    public Integer getCustomize() {
        return customize;
    }

    public void setCustomize(Integer customize) {
        this.customize = customize;
    }

    public Integer getPanel_leg() {
        return panel_leg;
    }

    public void setPanel_leg(Integer panel_leg) {
        this.panel_leg = panel_leg;
    }

    public Integer getT_bottomlayer() {
        return t_bottomlayer;
    }

    public void setT_bottomlayer(Integer t_bottomlayer) {
        this.t_bottomlayer = t_bottomlayer;
    }

    public Integer getT_leglayout() {
        return t_leglayout;
    }

    public void setT_leglayout(Integer t_leglayout) {
        this.t_leglayout = t_leglayout;
    }

    public Integer getTf_boardwing() {
        return tf_boardwing;
    }

    public void setTf_boardwing(Integer tf_boardwing) {
        this.tf_boardwing = tf_boardwing;
    }

    public String getF_structure() {
        return f_structure;
    }

    public void setF_structure(String f_structure) {
        this.f_structure = f_structure;
    }

    public Integer getF_blockheight() {
        return f_blockheight;
    }

    public void setF_blockheight(Integer f_blockheight) {
        this.f_blockheight = f_blockheight;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getPsq() {
        return psq;
    }

    public void setPsq(Integer psq) {
        this.psq = psq;
    }
//    public String getRemark() {
//        return remark;
//    }
//
//    public void setRemark(String remark) {
//        this.remark = remark;
//    }
//
//    public String getImage() {
//        return image;
//    }
//
//    public void setImage(String image) {
//        this.image = image;
//    }
}
